<div id="loginDialog" title="Login Form">
	<p id="validateTips">Please, provide your login and password!</p>
	<?php echo $this->form ?>
</div>
<script type="text/javascript">
$("#loginDialog").dialog({
	bgiframe: true,
	autoOpen: true,
	height: "auto",
	modal: true,
	close: function(event, ui) {
		document.location.href = '/';
	}
});
</script>